package com.book.book.service.impl;

import com.book.book.dao.WantSeeDao;
import com.book.book.domain.WantSeeDO;
import com.book.book.service.WantSeeService;
import com.book.iphone.domain.WashDo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class WantSeeServiceImpl implements WantSeeService {
	@Autowired
	private WantSeeDao wantSeeDao;
	
	@Override
	public WantSeeDO get(Integer id){
		return wantSeeDao.get(id);
	}
	
	@Override
	public List<WantSeeDO> list(Map<String, Object> map){
		return wantSeeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return wantSeeDao.count(map);
	}
	
	@Override
	public int save(WantSeeDO wantSee){
		return wantSeeDao.save(wantSee);
	}
	
	@Override
	public int update(WantSeeDO wantSee){
		return wantSeeDao.update(wantSee);
	}
	
	@Override
	public int remove(Integer id){
		return wantSeeDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return wantSeeDao.batchRemove(ids);
	}

	@Override
	public List<WantSeeDO> listWithUserInfo(Map<String, Object> map) {
		return wantSeeDao.listWithUserInfo(map);
	}

	@Override
	public List<WashDo> listPersonalWishByUserId(String userId) {
		return  wantSeeDao.listPersonalWishByUserId(userId);
	}
}
